package com.xcw.bb.service;

import java.util.Date;
import java.util.List;

import com.xcw.bb.entity.Interact;
import com.xcw.bb.entity.User;

public interface InteractService {
    List<Interact> queryAllstudentInteract(int id) throws Exception;
    
    List<Interact> queryAllLikeInteract(String answer,String select,String value,int id) throws Exception;
    
    List<User> queryAllTeacher() throws Exception;
    
    //void insertInteract( String title,String detail, User student,User teacher) throws Exception;
    
    void insertInteract( String interactName,String interactDetail, String department, String studentName,String teacherName,Integer tuid,Integer sid,  Date createdate, String teacherDepartment);
    
    void deleteOneInteract(int id)throws Exception;
    
    Interact queryInteractDetail(int id)throws Exception; 
    
    void updateByEvaluate(int id,String content)throws Exception;
    
    void updateByUpdate(int id,String content)throws Exception;
    
    void updateByAccusation(int id,String content)throws Exception;
}
